﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace He.Web.manage.order
{
    public partial class detail : He.Web.UI.Manage
    {
        protected He.Model.order Model;
        public int id;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!int.TryParse(Request.Params["id"] as string, out this.id))
            {
                JscriptMsg(350, 230, "错误提示", "<b>出现错误啦！</b>您要修改的信息不存在或参数不正确。", "back", "Error");
                return;
            }
            Model = new He.BLL.order().GetModel(id);
            chkLoginLevel("view" + Model.pos_mark);
        }

        protected void btnSave_Click(object sender, EventArgs e)
        {
            Response.Redirect(string.Format("list.aspx?pos_mark={0}&lang={1}", Model.pos_mark, Model.lang));
        }
    }
}
